package com.dxy.bizapigateway;

import com.dxy.bizapigateway.filter.AuthFilter;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
@EnableZuulProxy
public class BizApigatewayApplication {

	public static void main(String[] args) {
		SpringApplication.run(BizApigatewayApplication.class, args);
	}


	@Bean
	public AuthFilter authFilter(){
		return new AuthFilter();
	}

}
